package com.jswdwsx.ddns.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Configuration
@ConfigurationProperties(prefix = "ali.dns")
public class AliProperties {

    String accessKeyId;

    String accessKeySecret;

    Map<String, List<String>> domain = new HashMap<>();

    public String getAccessKeyId() {
        return accessKeyId;
    }

    public void setAccessKeyId(String accessKeyId) {
        this.accessKeyId = accessKeyId;
    }

    public String getAccessKeySecret() {
        return accessKeySecret;
    }

    public void setAccessKeySecret(String accessKeySecret) {
        this.accessKeySecret = accessKeySecret;
    }

    public Map<String, List<String>> getDomain() {
        return domain;
    }

    public void setDomain(Map<String, List<String>> domain) {
        this.domain = domain;
    }
}
